import request from '../utils/request'
const getResult = ({ q, page }) => {
  return request({
    url: '/v1_0/search',
    method: 'get',
    params: {
      q,
      per_page: 5,
      page
    }
  })
}

export { getResult }
